package com.example.demo;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by xing on 2017/6/19.
 */
@RestController
public class Hello {

    @RequestMapping("/test")
    public String test(String name){
        System.out.println(777);
        return "hello "+ name;
    }

}
